package com.cwz.controller;

import com.cwz.mapper.ApiAccessLogMapper;
import com.cwz.param.ApiHttpQueryParam;
import com.cwz.service.ApiAccessLogService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import javax.servlet.http.HttpSession;
import java.util.Map;


/**
 * @author wenZhen
 * @create 2024-08-18 17:13
 */

@RestController
@RequestMapping("/api")
public class ApiAccessLogController {





    @Resource
    private ApiAccessLogService apiAccessLogService;

    @GetMapping("/page")
    public Map<String,Object> query(ApiHttpQueryParam param, HttpSession session){
        return  apiAccessLogService.page(param,session);

    }


}
